<extend name="Index:info"/>
<block name="body">

<div class="panel admin-panel margin-top">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>编辑内容</strong><strong style="display: block;float: right;"> <a href="{:U('index/column')}"> 返回导航列表</a></strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="">   
      <input type="hidden" name="n_id"  value="{$navs.n_id}" />
      <div class="form-group">
        <div class="label">
          <label>栏目名称：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="n_title" value="{$navs.n_title}" data-validate="required:请输入标题" />
          <div class="tips"></div>
        </div>
      </div> 

       <div class="form-group">
        <div class="label">
          <label>导航地址：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="n_url" value="{$navs.n_url}" />
          <div class="tips"></div>
        </div>
      </div>       

     <div class="form-group">
        <div class="label">
          <label>显示：</label>
        </div>
        <div class="field">
          <div class="button-group radio">
          
          <label class="button active">
         	  <span class="icon icon-check"></span>             
              <input name="n_status" value="1" type="radio" checked="checked">是
          </label>             
        
          <label class="button active">
			  <span class="icon icon-times"></span>          	
              <input name="n_status" value="0"  type="radio" checked="checked">否
          </label>         
           </div>       
        </div>
     </div>
      <div class="form-group">
        <div class="label">
          <label>排序：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="n_sort" value="{$navs.n_sort}"  data-validate="required:,number:排序必须为数字" />
          <div class="tips"></div>
        </div>
      </div>
     <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>
</block>